#ifndef _edaDAGEdge_h_
#define _edaDAGEdge_h_

class edaDAGVertex;

class edaDAGEdge
{
  public:
    /**
     * Constructor
     */
    edaDAGEdge(int _key, edaDAGVertex *_fromVertex, edaDAGVertex *_toVertex);
    /**
     * Destructor
     */
    ~edaDAGEdge();
    /**
     * Get the key of the edge
     */
    int getKey() const;
    /**
     * Get the source vertex
     */
    edaDAGVertex* getSourceVertex() const;
    /**
     * Get the destination vertex
     */
    edaDAGVertex* getDestVertex() const;

  private:
    edaDAGVertex *fromVertex;
    edaDAGVertex *toVertex;
    int edgeKey;
};
#endif
